/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufscar.compiladores.ast;

import java.util.Collection;
import java.util.Enumeration;

/**
 *
 * @author takeshi
 */
public class CommandList {
    
    private Collection<Command> commandList;
    
    public CommandList(Collection<Command> commandList) {
        this.commandList = commandList;
    }

    public void genC(PW pw) {
        for(Command c : commandList){
            c.genC(pw);
        }
    }
    
}
